 <? /*GetLocation()*/ function GetLocation() {
			$info = file_get_contents("http://ipinfodb.com/ip_locator.php?ip={$_SERVER['REMOTE_ADDR']}");			$city = $state = $country = "";
			if ( preg_match('{<li>City : ([^<]*)</li>}i', $info, $regs) )  $city = $regs[1];			if ( preg_match('{<li>State/Province : ([^<]*)</li>}i', $info, $regs) )  $state = $regs[1];			if ( preg_match('{<li>Country : ([^<]*)<}i', $info, $regs) )  $country = $regs[1];			return array($city, $state, $country);}
// also, Timezone, Hostname, IP address
?>